/*
 * AbstractProjectile.java
 *
 * Created on 4. April 2007, 23:20
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package de.tor.obj;

import de.tor.loaders.Level;
import java.awt.Graphics2D;
import java.awt.image.BufferedImage;

/**
 *
 * @author Charon
 */
public abstract class AbstractProjectile extends TorridityGameObject {
    
    private double dRotation = 0;
    private TorridityGameObject mOwner = null;
    
    /** Creates a new instance of AbstractProjectile */
    public AbstractProjectile(TorridityGameObject pOwner, Level pLevel, BufferedImage image) {
        super(pLevel, image);
        setupProjectile();
        mOwner = pOwner;
    }
    
    /** Creates a new instance of AbstractProjectile */
    public AbstractProjectile(TorridityGameObject pOwner, Level pLevel, BufferedImage[] images) {
        super(pLevel, images);
        setupProjectile();
        mOwner = pOwner;
    }
    
    public static String getResourceName(){
        return null;
    }
    
    public TorridityGameObject getOwner(){
        return mOwner;
    }
    
    public static int getShotsPerSecond(){
        return 120;
    }
    
    public static String getSymbolResourceName(){
        return null;
    }
    
    public abstract void setupProjectile();
}
